body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../pic/cat.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.frame {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.9); /* 半透明背景 */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    position: absolute;
}

.message {
    display: none;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid;
    border-radius: 5px;
    text-align: left;
}

.message.error {
    border-color: #f5c6cb;
    background-color: #f8d7da;
    color: #721c24;
}

.message.success {
    border-color: #c3e6cb;
    background-color: #d4edda;
    color: #155724;
}

.form-container h2 {
    margin-top: 0;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.form-container label {
    display: block;
    margin-bottom: 10px;
    text-align: left;
}

.form-container input {
    width: 100%;
    padding: 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-container button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-container button:hover {
    background-color: #45a049;
}

.error-message {
    color: red;
    margin-top: 10px;
}
